package ee.ut.veebirakendus.model;

import java.util.ArrayList;
import java.util.List;

public class Hand {

	private List<Card> cards;
	private List<Card> strongest;
	private HandRank rank;

	public Hand() {
		this.cards = new ArrayList<Card>();
		this.rank = HandRank.HIGHCARD;
	}

	public Hand(List<Card> cards) {
		this.cards = cards;
	}

	public List<Card> getCards() {
		return cards;
	}

	public List<Card> getStrongest() {
		return strongest;
	}

	public void setStrongest(List<Card> strongest) {
		this.strongest = strongest;
	}

	public HandRank getRank() {
		return rank;
	}

	public void setRank(HandRank rank) {
		this.rank = rank;
	}

	public void addCard(Card card) {
		this.cards.add(card);
	}
	public void removeCard() {
		this.cards.remove(0);
	}

}
